package com.apidoc.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 文档配置属性
 */
@ConfigurationProperties(prefix = "api.doc")
public class ApiDocProperties {
    private String basePackage = "com"; // 默认扫描包
    private String outputPath = "target/api-docs"; // 文档输出路径
    private String contextPath = ""; // 应用上下文路径

    // Getter和Setter
    public String getBasePackage() { return basePackage; }
    public void setBasePackage(String basePackage) { this.basePackage = basePackage; }
    public String getOutputPath() { return outputPath; }
    public void setOutputPath(String outputPath) { this.outputPath = outputPath; }
    public String getContextPath() { return contextPath; }
    public void setContextPath(String contextPath) { this.contextPath = contextPath; }
}
